﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = IndustrialModules
		Group                          = Geoscanners
		Module                         = syverz geoscanner
		CpuUsage                       = 50.00 TF
		ReactorUsage                   = 50.00 RP
		Type                           = Active
		Slot                           = Head
		TechnologicalLevel             = T3
		Mass                           = 200.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorConsumption         = 70.00 AP
		CycleTime                      = 12.50 sec
		AmmoChargeType                 = Geoscanner charges
		AmmoChargeCapacity             = 10 pcs
		GeoscannerAccuracy             = 60.00 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Syverz geoscanner module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class SyverzGeoscanner : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="SyverzGeoscanner"/> class.
        /// </summary>
        public SyverzGeoscanner()
            : base(
            "Syverz geoscanner",
            "",
            ModuleMetaGroupsEnum.Industrial,
            ModuleGroupsEnum.Geoscanners,
            TechnologyLevelsEnum.Level3,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),50.00),
				new LazyFeature(typeof(ReactorUsage<double>),50.00),
				new LazyFeature(typeof(ModuleMass<double>),200.00),
				new LazyFeature(typeof(AccumulatorUsage<double>),70.00),
				new LazyFeature(typeof(GeoscannerCycleTime<double>),12.50),
				new LazyFeature(typeof(GeoscannerAccuracy<double>),0.6),
				new LazyFeature(typeof(AmmunitionType<AmmunitionTypesEnum>),AmmunitionTypesEnum.GeoscannerCharges),
				new LazyFeature(typeof(AmmoCapacity<double>),10), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 200.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Head; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}